@m-height: 10.75rem;
@pc-height: 30.3125rem;
@cl-color: #175292;
@bg-size: 1.875rem;

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

ul {
	li {
		list-style: none;
	}
}

a {
	text-decoration: none;
}

#header {
	position: sticky;
	top: 0;
	z-index: 9;
}

#container {
	min-height: 100vh;
	background-color: #fff;


	.banner {
		margin-bottom: 1.875rem;
		display: flex;
		justify-content: center;
		/* 水平居中 */
		align-items: center;
		/* 垂直居中 */
		position: relative;

		/* 如果需要的话 */
		.image {
			width: 100%;
			height: @pc-height;
			overflow: hidden;

			// object-fit: contain;
		}

		@media (max-width: 48rem) {
			.image {
				transition: .3s;
				width: 100%;
				// height: @m-height;
				overflow: hidden;
			}
		}

		.img-word {
			position: absolute;
			display: flex;
			width: 50%;
			justify-content: space-evenly;
			align-items: center;

			.small_img {
				width: 15.75rem;
				height: 15.75rem;
				margin-right: 30px;
			}

			@media (max-width:900px) {
				.small_img {
					width: 10.75rem;
					height: 10.75rem;
					transition: .3s;
					margin-right: 30px;
				}
			}

			.right_img_word {
				color: #fff;

				.right_top_title {
					font-size: 1.25rem;
					font-weight: bold;
					margin-bottom: .9375rem;
				}

				.right_center_content {
					font-size: .875rem;
					margin-bottom: 1.875rem;

					p {
						margin-bottom: .3125rem;
					}
				}

				.right_down_btn {
					display: inline-block;
					padding: 0.3125rem 1.25rem;
					font-size: 0.875rem;
					text-align: center;
					background-color: #fff;
					color: #175292;
					border-radius: 1.25rem;
					border: none;
					cursor: pointer;
					font-weight: bold;
				}

				@media (max-width:800px) {
					.right_top_title {
						font-size: .825rem;
					}

					.right_center_content {
						font-size: .575rem;
					}

					.right_down_btn {
						font-size: .575rem;
					}
				}
			}
		}

		@media (max-width: 31.25rem) {
			.image {
				transition: .3s;
				width: 100%;
				height: @m-height;
				overflow: hidden;
			}

			.img-word {
				display: none;
			}
		}
	}

	@media (max-width:660px) {
		.banner {
			margin-bottom: 0;
		}
	}

	/* 主容器 */
	.serve-container {
		max-width: 1200px;
		margin: 0 auto;
		padding: 20px;
	}

	.apply-after--pc {
		max-width: 1200px;
		margin: 0 auto;
		padding: 99px 15px;
		display: flex;
		justify-content: space-around;
		align-items: center;
		box-sizing: border-box;

		.content-col {
			flex: 0 0 50%;
			max-width: 50%;
			padding-right: 15px;

			.til {
				margin-bottom: 17px;
				display: flex;
				flex-direction: column;
				justify-content: flex-start;

				h2 {
					font-size: 28px;
					margin-bottom: 8px;
					color: #333333;
				}

				span {
					font-size: 14px;
					color: #666;
				}
			}

			.description {
				font-size: 14px;
				line-height: 1.5;
				font-weight: 300;
				margin-bottom: 8px;
			}

			.button {
				display: block;
				width: 317px;
				height: 37px;
				line-height: 37px;
				font-size: 16px;
				font-weight: bold;
				text-align: center;
				color: #ffffff;
				background: #28669f;
				margin-top: 25px;
				text-decoration: none;
				border-radius: 4px;
				transition: background-color 0.3s;
				border: none;
				cursor: pointer;
			}

			.button:hover {
				background-color: #28669f;
			}
		}

		.image-col {
			flex: 0 0 33.333%;
			max-width: 33.333%;
			padding-left: 15px;

			.image {
				width: 100%;
				height: auto;
				border-radius: 4px;
				display: block;
			}
		}
	}


	/* 标题样式 */
	.section-title {
		text-align: center;
		padding: 20px 0;
		h2 {
			color: #175292;
		}

		span {
			color: #858585;
			font-size: 14px;
			text-transform: uppercase;
		}

		.line {
			width: 50px;
			height: 4px;
			background-color: @cl-color;
			margin: 10px auto;
		}
	}
	

	/* 选项卡 */
	.tab-container {
		display: flex;
		border: 1px solid #aeaeae;
		margin-bottom: 20px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.tab-item {
		flex: 1;
		min-width: 100px;
		padding: 10px 0;
		text-align: center;
		cursor: pointer;
		border-right: 1px solid #aeaeae;
		font-size: 14px;
		color: #666;
		transition: all 0.3s;
	}

	.tab-item:last-child {
		border-right: none;
	}

	.tab-item.active {
		background-color: #2465a1;
		color: white;
	}

	/* 视频列表 */
	.video-grid {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
		margin-bottom: 30px;
	}

	.video-card {
		background: white;
		border-radius: 8px;
		overflow: hidden;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
		transition: transform 0.3s;
	}

	.video-card:hover {
		transform: translateY(-5px);
	}

	.video-thumbnail {
		position: relative;
		width: 100%;
		height: 180px;
		background-color: #f8f8f8;
	}

	.video-thumbnail img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.video-play-icon {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 50px;
		height: 50px;
		background-color: rgba(0, 0, 0, 0.6);
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.video-play-icon::after {
		content: "";
		display: block;
		width: 0;
		height: 0;
		border-top: 10px solid transparent;
		border-bottom: 10px solid transparent;
		border-left: 15px solid white;
		margin-left: 5px;
	}

	.video-info {
		padding: 15px;
	}

	.video-title {
		font-size: 16px;
		font-weight: bold;
		margin-bottom: 5px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.video-description {
		font-size: 14px;
		color: #666;
		height: 40px;
		overflow: hidden;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}

	/* 申请培训区域 */
	.apply-section {
		text-align: center;
		padding: 30px 0;
		border-bottom: 1px solid #eee;
		margin-bottom: 30px;
	}

	.apply-tip {
		max-width: 800px;
		margin: 0 auto 20px;
		line-height: 1.6;
		color: #666;
	}

	.apply-button {
		display: inline-block;
		padding: 10px 30px;
		background-color: #2465a1;
		color: white;
		text-decoration: none;
		border-radius: 4px;
		font-weight: bold;
		transition: background-color 0.3s;
	}

	.apply-button:hover {
		background-color: #1a4f7a;
	}

	/* 分页 */
	.pagination {
		display: flex;
		justify-content: center;
		margin-top: 30px;
	}

	.page-item {
		margin: 0 5px;
	}

	.page-link {
		display: block;
		padding: 8px 12px;
		border: 1px solid #ddd;
		background-color: white;
		color: #333;
		text-decoration: none;
		border-radius: 4px;
	}

	.page-link.active {
		background-color: #2465a1;
		color: white;
		border-color: #2465a1;
	}

	/* 空状态 */
	.empty-state {
		text-align: center;
		padding: 50px 0;
		color: #999;
	}

	/* 加载状态 */
	.loading-overlay {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: rgba(255, 255, 255, 0.7);
		display: flex;
		justify-content: center;
		align-items: center;
		z-index: 10;
	}

	/* 基础样式 */
	.faq-page {
		max-width: 1200px;
		margin: 0 auto;
		padding: 20px;
	}

	/* 标题样式 */
	.faq-header {
		text-align: center;
		margin-bottom: 30px;
	}

	.faq-header {
		text-align: center;
		margin-bottom: 30px;

		h2 {
			color: #175292;
		}

		span {
			color: #858585;
			font-size: 14px;
			text-transform: uppercase;
		}

		.line {
			width: 50px;
			height: 4px;
			background-color: @cl-color;
			margin: 10px auto;
		}
	}


	/* 筛选区域 */
	.filter-area {
		display: flex;
		flex-wrap: wrap;
		gap: 20px;
		margin-bottom: 25px;
		justify-content: center;
	}

	.filter-box {
		flex: 1;
		min-width: 250px;
	}

	/* 下拉选择框 */
	.filter-select {
		width: 100%;
		padding: 10px 15px;
		border: 1px solid #dcdfe6;
		border-radius: 4px;
		background-color: #f5f7fa;
	}

	/* 搜索框 */
	.search-box {
		position: relative;
		width: 100%;
	}

	.search-box input {
		width: 100%;
		padding: 10px 15px 10px 35px;
		border: 1px solid #dcdfe6;
		border-radius: 4px;
		background-color: #f5f7fa;
	}

	.search-icon {
		position: absolute;
		left: 10px;
		top: 50%;
		transform: translateY(-50%);
		color: #999;
		cursor: pointer;
	}

	/* 按钮样式 */
	.action-btn {
		padding: 10px 20px;
		border-radius: 4px;
		cursor: pointer;
		border: none;
		font-size: 14px;
	}

	.primary-btn {
		background-color: #409eff;
		color: white;
	}

	.danger-btn {
		background-color: #f56c6c;
		color: white;
	}

	/* 问题列表 */
	.question-list {
		margin-bottom: 30px;
	}

	.question-item {
		border-radius: 4px;
		overflow: hidden;
	}

	.question-title {
		padding: 15px;
		cursor: pointer;
		font-weight: 500;
		position: relative;
		border-bottom: 1px solid #eee;
		margin-bottom: 15px;
	}

	.question-title:after {
		content: ">";
		position: absolute;
		right: 15px;
		top: 50%;
		transform: translateY(-50%);
	}

	.question-item.active .question-title:after {
		content: ">";
		position: absolute;
		right: 15px;
		top: 20%;
		transform: rotate(90deg);
	}

	.question-content {
		padding: 0 15px;
		max-height: 0;
		overflow: hidden;
		// transition: max-height 0.3s ease;
		// background-color: #f5f7fa;
		position: relative;
		padding-left: 30px;
	}

	.question-content:before {
		content: "A: ";
		position: absolute;
		left: 15px;
	}

	.question-item.active .question-content {
		padding: 0 15px 15px;
		max-height: 1000px;
		padding-left: 30px;
	}

	/* 空状态 */
	.empty-state {
		text-align: center;
		padding: 50px;
		color: #888;
		display: none;
	}

	/* 分页 */
	.pagination-area {
		display: flex;
		justify-content: center;
		margin-top: 20px;
	}

	.pagination-list {
		display: flex;
		list-style: none;
		padding: 0;
		margin: 0;
	}

	.pagination-item {
		margin: 0 5px;
	}

	.pagination-link {
		display: block;
		padding: 8px 12px;
		border: 1px solid #dcdfe6;
		border-radius: 4px;
		color: #606266;
		text-decoration: none;
	}

	.pagination-link.active {
		background-color: #409eff;
		color: white;
		border-color: #409eff;
	}

	.pagination-link.disabled {
		color: #c0c4cc;
		cursor: not-allowed;
	}

	/* 加载状态 */
	.loading-overlay {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(255, 255, 255, 0.7);
		display: flex;
		justify-content: center;
		align-items: center;
		z-index: 1000;
		display: none;
	}

	.loading-spinner {
		border: 4px solid #f3f3f3;
		border-top: 4px solid #3498db;
		border-radius: 50%;
		width: 40px;
		height: 40px;
		animation: spin 1s linear infinite;
	}

	@keyframes spin {
		0% {
			transform: rotate(0deg);
		}

		100% {
			transform: rotate(360deg);
		}
	}

	/* 响应式调整 */
	@media (max-width: 768px) {
		.filter-box {
			min-width: 100%;
		}
	}

	/* 响应式布局 */
	@media (max-width: 992px) {
		.video-grid {
			grid-template-columns: repeat(2, 1fr);
		}
	}

	@media (max-width: 768px) {
		.video-grid {
			grid-template-columns: 1fr;
		}

		.tab-container {
			flex-wrap: nowrap;
		}

		.tab-item {
			min-width: 120px;
		}

		.section-title h2 {
			font-size: 20px;
		}
	}
}

@media (max-width:68.75rem) {
	footer {
		transition: .3s;
		display: none;
	}
}